home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 January / Macworld (2000-01).dmg / Shareware World / Utilities / Text processing / PDF–Blit™1.02.sea / PDF–Blit™1.02 / Source / pdfPrefs.h < prev    next >
Text File  |  1999-09-17  |  1KB  |  52 lines

  1. // ©1999 by Kas Thomas. All rights reserved. See ReadMe for important information.
  2. #define OK_ITEM 1
  3. #define CANCEL_ITEM 2
  4. #define ACROBAT_ITEM 3
  5. #define FONT_ITEM 4
  6. #define POINTSIZE_ITEM 5
  7. #define LEADING_ITEM 7
  8. #define PAGENO_ITEM 9
  9. #define SPACESPERTAB_ITEM  15
  10. #define TRANSITION_ITEM  12
  11. #define HEADER_ITEM 13
  12. #define JUSTIFY_ITEM 14
  13. #define AUTHOR_ITEM 21
  14. #define TITLE_ITEM  22
  15. #define CHWIDTH_ITEM 20
  16. #define KEYWORDS_ITEM 23
  17. #define MARGINTOP 25
  18. #define MARGINBOT 26
  19. #define MARGINL 27
  20. #define MARGINR 28
  21. #define HTML_ITEM 11
  22.  
  23. typedef struct Prefs {
  24.  
  25.     int    font;
  26.     int    transition;
  27.     int    chwidth;
  28.     int    marginTop,marginBot,marginLeft,marginRt;
  29.     unsigned char     author[64];
  30.     unsigned char     title[64];
  31.     unsigned char     keywords[128];
  32.     Boolean    justify;
  33.     Boolean    header;
  34.     Boolean numberPages;
  35.     Boolean launchAcrobat;
  36.     Boolean interpHTML;
  37.     int        spaces;
  38.     int        lines;
  39.     float    leading;
  40.     float    ptsize;
  41.     float    color[3];
  42.     int    style;
  43.     
  44. } ;
  45.  
  46.  
  47. typedef struct Prefs Prefs, *PrefsPtr;
  48.  
  49. OSErr DoDialog(ExternalCallbackBlock *callbacks, PrefsPtr pp);
  50.  
  51.  
  52.